#include<iostream>
using namespace std;

int main()
{
    int n = 10;
    cin >> n;
    int a[] = { 1,2,3,4,5,6,7,8,9,10 };
    for (int i = 0; i < n; i++) 
    {
        cout << a[i] << " ";
    }
    cout << endl;
    return 0;
}
